test(playwright): un-skip ep_headings2 spec under WITH_PLUGINS (#7626)#7634
Merged
JohnMcLear merged 1 commit intoether:developfrom Apr 30, 2026
Merged
Conversation
Remove the FRONTEND_IGNORE entry that suppressed ep_headings2/static/tests/frontend-new/specs/headings.spec.ts under WITH_PLUGINS=1. The skip was added in ether#7628 while the keystroke-drop flake (ether#7611) was still being chased; ether#7630 then identified the actual root cause as ep_cursortrace's per-keystroke cursorPosition socket spam saturating Firefox's input pipeline, removed ep_cursortrace from the WITH_PLUGINS plugin set, and added waitForEditorReady() to goToNewPad/goToPad. With both root causes addressed, this skip is likely stale — the spec's own "Option select is changed when heading is changed" test already uses insertText for the second-line typing, so it should clear the same bar that ether#7630 cleared for ep_markdown and ep_spellcheck (both now passing on develop). Closes ether#7626 if CI confirms — the issue's three plugin specs (markdown, spellcheck, headings2) and timeslider_identity_changeset are all addressed once this lands. If headings2 is still flaky after this, FRONTEND_IGNORE comes back with a narrower comment about what specifically still races. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
ⓘ You've reached your Qodo monthly free-tier limit. Reviews pause until next month — upgrade your plan to continue now, or link your paid account if you already have one. |
Review Summary by QodoUn-skip ep_headings2 spec under WITH_PLUGINS configuration
WalkthroughsDescription• Remove ep_headings2 spec from FRONTEND_IGNORE under WITH_PLUGINS • Root causes of keystroke-drop flake already addressed in #7630 • Spec uses insertText for typing, clearing same race condition • Config-only change, no test or production code modified Diagramflowchart LR
A["ep_headings2 spec<br/>previously ignored"] -- "remove from<br/>FRONTEND_IGNORE" --> B["spec now runs<br/>under WITH_PLUGINS"]
C["Root causes fixed<br/>in #7630"] -- "ep_cursortrace removed<br/>waitForEditorReady added" --> B
B -- "insertText usage<br/>prevents races" --> D["spec passes<br/>on Firefox+plugins"]
File Changes1. src/playwright.config.ts
|
Member
Author
|
/review |
Code Review by Qodo
Context used 1. Lost flake rationale
|
ⓘ You've reached your Qodo monthly free-tier limit. Reviews pause until next month — upgrade your plan to continue now, or link your paid account if you already have one. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
'**/ep_headings2*/static/tests/frontend-new/specs/headings.spec.ts'fromFRONTEND_IGNOREinsrc/playwright.config.ts. The ignore was added in chore: updated node to supported 22,24,25 #7628 while the WITH_PLUGINS keystroke-drop flake (Frontend specs that fail with /ether plugin set loaded #7611) was still being investigated; ci(frontend-tests): exclude ep_cursortrace + un-flake 30 of 31 #7611 skips #7630 then identified the real root cause (ep_cursortrace's per-keystrokecursorPositionsocket spam) and removed ep_cursortrace from the WITH_PLUGINS plugin set, plus addedwaitForEditorReady()togoToNewPad/goToPad.Option select is changed when heading is changedtest (line 44) already usesinsertTextfor second-line typing (ep_headings2@65afe68), so it should clear the same bar that ci(frontend-tests): exclude ep_cursortrace + un-flake 30 of 31 #7611 skips #7630 cleared forep_markdownandep_spellcheck— both of which are now passing on develop CI under Firefox + WITH_PLUGINS.Risk
Lowest possible: one config entry removed, no test or production code touched. If the spec is still flaky under WITH_PLUGINS, CI fails on this PR (firefox + WITH_PLUGINS retries 5×) and we put the ignore back with a narrower comment about what specifically still races. No release artefacts affected.
Semver
patch — test infrastructure only.
Test plan
Playwright Firefox with pluginsjob passes on this PRPlaywright Chrome with pluginsjob passes (sanity check — wasn't ignored there but worth confirming)ep_headings2 .../headings.spec.ts:44 Option select is changed when heading is changedline appears in the firefox-with-plugins log as✓(not skipped, not failed)🤖 Generated with Claude Code